This document governs the provider-facing bridge layer that sits between raw provider events and the normalized CORI runtime used by the full-page and popup call surfaces.
The goal is simple:
The provider adapter is not allowed to become the UI state model.
Raw provider events must be translated into the shared normalized CORI event spine before they can affect listening posture, visible fact state, advice refresh, save readiness, or session closeout.
The bridge should map provider events into the shared CORI runtime event set.
provider.session.created -> SESSION_READYprovider.call.ringing -> CALL_DIALINGprovider.call.connected -> CALL_CONNECTEDprovider.media.started -> LISTENING_STARTEDprovider.transcript.partial -> TRANSCRIPT_PARTIALprovider.fact.upsert -> FACT_UPSERTEDprovider.advice.refresh -> ADVICE_REFRESHEDprovider.session.closed -> SESSION_ENDEDNOT_READYGUARDEDREADY_TO_STARTSTARTINGLIVECLOSINGCLOSEDThe bridge owns the transition rules between these phases. The UI should not infer them directly from raw provider payloads.
Provider-backed listening should not start unless the following are satisfied:
Transcript fragments should be normalized before they affect dispatcher-facing state.
The session should have one terminal end-state.
The full-page CORI surface and popup CORI surface must read the same normalized runtime truth. Neither surface should render raw provider payload structure directly.
The next controlled provider-backed session path should plug into this hardened bridge rather than bypassing it.